package net.oschina.app.ui.activity.explore;

import android.widget.FrameLayout;

import net.oschina.app.R;
import net.oschina.app.base.BaseActivity;
import net.oschina.app.fragment.explore.EventDetilsFragment;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * Created by 张运湘 on 2017/1/18.
 */

public class EventDatilsActivity extends BaseActivity {
    @BindView(R.id.fl_EventDatils)
    FrameLayout mFlEventDatils;
    private EventDetilsFragment mEventDetilsFragment = new EventDetilsFragment();
    @Override
    public int getLayoutRes() {
        return R.layout.activity_eventactivity;
    }

    @Override
    public void initView() {
        ButterKnife.bind(this);
        getSupportFragmentManager().beginTransaction().replace(R.id.fl_EventDatils,mEventDetilsFragment).commit();
    }

    @Override
    public void initListener() {

    }

    @Override
    public void initData() {

    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        ButterKnife.bind(this).unbind();
    }

}
